package com.ruoyi.classai.domain.vo.resource;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 资源库视图对象
 * 
 * @date 2025-03-17
 */
@Data
@Schema(description = "资源库视图对象")
public class EwcResourceVo {
    
    /** ID */
    @Schema(description = "ID")
    private String id;
    
    /** 资源名称 */
    @Schema(description = "资源名称")
    private String resourceName;
    
    /** 资源备注 */
    @Schema(description = "资源备注")
    private String remarks;
    
    /** 资源图片 */
    @Schema(description = "资源库封面图片")
    private String resourceImg;
    
    /** 浏览数量 */
    @Schema(description = "浏览数量")
    private Integer browseNum;
    
    /** 年级类型 */
    @Schema(description = "年级类型")
    private Integer gradeType;

    /** 学科类型 */
    @Schema(description = "学科类型")
    private Integer subjectType;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;
}